﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace _70___Authorize__action_filters.Controllers
{
    [Authorize]
    public class HomeController : Controller
    {
        //
        // GET: /Home/
        public string SecureMethod()
        {
            return "This is  Secure Method";
        }
        [AllowAnonymous]
        public string NonSecureMethod()
        {
            return "This is Non Secure Method";
        }

    }
}
